﻿@model Metro.Kashikoi.ServiceContract.Item.StockItem
@{
    ViewBag.Title = "Delete";
}
<h2>
    Delete</h2>
<h3>
    Are you sure you want to delete this?</h3>
<fieldset>
    <legend>Stock Item</legend>
    <div class="display-label">
        Name</div>
    <div class="display-field">@Model.Name</div>
    <div class="display-label">
        Generic Name</div>
    <div class="display-field">@Model.GenericName</div>
    <div class="display-label">
        Brand Name</div>
    <div class="display-field">@Model.BrandName</div>
    <div class="display-label">
        Alternat Name</div>
    <div class="display-field">@Model.AlternatName</div>
    <div class="display-label">
        Vendor Code</div>
    <div class="display-field">@Model.VendorCode</div>
    <div class="display-label">
        Unit Cost</div>
    <div class="display-field">@String.Format("{0:F}", Model.UnitCost)</div>
    <div class="display-label">
        Charge Code</div>
    <div class="display-field">@Model.ChargeCode</div>
    <div class="display-label">
        Charge Amount</div>
    <div class="display-field">@String.Format("{0:F}", Model.ChargeAmount)</div>
    <div class="display-label">
        Pack Size</div>
    <div class="display-field">@Model.PackSize</div>
</fieldset>
@using (Html.BeginForm())
{
    <p>
        <input type="submit" value="Delete" />
        |
        @Html.ActionLink("Back to List", "Index")
    </p>
}
